package com.hx.vending.service;

import com.hx.vending.bean.Admin;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/1/9.
 */
public interface IAdminService {

    Admin selectByPrimary(Admin admin);

    int insertSelective(Admin admin);

    /**
     * 模糊查询所有系统用户
     * @param map
     * @return
     */
    List<Admin> selectAdmin(Map<String,Object> map);

    int updateByPrimaryKey(Admin admin);

    Integer deleteByAdminId(List<Integer> integerList);
}
